package pkg

//func QiNiuYun(fileName string, file) (string, error) {
//	accessKey := "your access key"
//	secretKey := "your secret key"
//	mac := credentials.NewCredentials(accessKey, secretKey)
//	bucket := "if-pbl"
//	key := "github-x.png"
//	uploadManager := uploader.NewUploadManager(&uploader.UploadManagerOptions{
//		Options: http_client.Options{
//			Credentials: mac,
//		},
//	})
//	err := uploadManager.UploadReader(context.Background(), file, &uploader.ObjectOptions{
//		BucketName: bucket,
//		ObjectName: &key,
//		CustomVars: map[string]string{
//			"name": "github logo",
//		},
//	}, nil)
//	return appconfig.AddConfig.QiNiuYun.Url, err
//}
